package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.BizPurchaseOrderDetail;

/**
 * 采购订单明细Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-18
 */
public interface BizPurchaseOrderDetailMapper 
{
    /**
     * 查询采购订单明细
     * 
     * @param detailId 采购订单明细主键
     * @return 采购订单明细
     */
    public BizPurchaseOrderDetail selectBizPurchaseOrderDetailByDetailId(Long detailId);

    /**
     * 查询采购订单明细列表
     * 
     * @param bizPurchaseOrderDetail 采购订单明细
     * @return 采购订单明细集合
     */
    public List<BizPurchaseOrderDetail> selectBizPurchaseOrderDetailList(BizPurchaseOrderDetail bizPurchaseOrderDetail);

    /**
     * 新增采购订单明细
     * 
     * @param bizPurchaseOrderDetail 采购订单明细
     * @return 结果
     */
    public int insertBizPurchaseOrderDetail(BizPurchaseOrderDetail bizPurchaseOrderDetail);

    /**
     * 修改采购订单明细
     * 
     * @param bizPurchaseOrderDetail 采购订单明细
     * @return 结果
     */
    public int updateBizPurchaseOrderDetail(BizPurchaseOrderDetail bizPurchaseOrderDetail);

    /**
     * 删除采购订单明细
     * 
     * @param detailId 采购订单明细主键
     * @return 结果
     */
    public int deleteBizPurchaseOrderDetailByDetailId(Long detailId);

    /**
     * 批量删除采购订单明细
     * 
     * @param detailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBizPurchaseOrderDetailByDetailIds(String[] detailIds);
}
